package com.nit.lab.vote.entity.basic;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class TypeEntity {
    private Long typeId;
    private String typeName;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date gmtCreate;

    public TypeEntity() {
    }

    public TypeEntity(Long typeId, String typeName, Date gmtCreate) {
        this.typeId = typeId;
        this.typeName = typeName;
        this.gmtCreate = gmtCreate;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
}
